[FEATURE] Offline Cache for Medicine Verification Records#1603
Closed
himanithakre56 wants to merge 2 commits into
Closed
[FEATURE] Offline Cache for Medicine Verification Records#1603himanithakre56 wants to merge 2 commits into
himanithakre56 wants to merge 2 commits into
Conversation
Contributor
Author
|
Hi @dipexplorer, I have started working on this issue and opened a Draft PR to track progress. Current status:
Will continue implementation and testing shortly. |
Member
|
once u finish it, mark for review |
- Add IndexedDB/localStorage-based local scan history helper - Display cached medicine verifications on offline page - Add detail modal to view full cached scan info - Support VERIFIED/FAKE/SUSPICIOUS status tracking - Auto-redirect when connection restored - Fallback to localStorage if IndexedDB unavailable
Contributor
|
Merge conflict detected. @himanithakre56, please resolve the conflicts locally and update your branch within 12 hours. If unresolved, this PR will be closed. |
Contributor
|
Pull Request closed due to unresolved merge conflicts. @himanithakre56, conflicts were not resolved within the 12-hour grace period. Please resolve the conflicts locally and submit a new PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🛑 STOP: Assignment & File Scope Check
Warning
PRs with unrelated files will not be reviewed and may be closed.
📋 PR Summary & Link
**Closes [FEATURE] Offline Cache for Medicine Verification Records #1214 **
Summary:
Implement offline scan history caching for rural users with unstable internet. Users can now view previously verified medicines when offline, cached locally using IndexedDB with localStorage fallback.
Saves medicine verification results locally when scanned online
Displays cached scan history on offline page (
/offline)Shows full medicine details in a detail modal (brand name, generic name, batch, expiry, CDSCO status)
Auto-redirects to home when connection restored
Graceful fallback to localStorage if IndexedDB unavailable
📸 Proof of Work (Screenshots / Logs)
Important
No Pull Request will be merged without proof of testing!
Please drag & drop your screenshots/GIFs here:
🏷️ PR Type
type: bugtype: featuretype: docstype: testingtype: securitytype: performancetype: designtype: refactortype: devopstype: accessibility✅ Checklist
Closes #1214)mainand resolved any conflicts